package com.teach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teach.pojo.Course;
import com.teach.pojo.User;

import java.util.List;

public interface CourseService extends IService<Course> {
    List<Course> getCoursesByClass(Long classId);

    List<User> getUserByClassAndCourse(Long classId, Long courseId);
}
